Skip to content

fix: upgrade Undici to preserve TLS validation - #97

Merged
sds merged 1 commit into
mainfrom
centaur/fix-undici-tls-validation-1790930001
Oct 2, 2026
Merged

sds merged 1 commit into
mainfrom
centaur/fix-undici-tls-validation-1790930001

Conversation

@decofe

@decofe decofe commented Oct 2, 2026

Copy link
Copy Markdown
Member

Summary

Force affected transitive Undici resolutions to 7.29.1 and regenerate the lockfile, preserving the existing Undici major version. Parent tooling currently constrains affected releases, so the override prevents subsequent installs from restoring them. Update the existing override, package extension, and release-age exception consistently.

Addresses GHSA-w293-vg96-wgc3 / CVE-2026-84961. The flaw drops custom TLS verification callbacks or connectors in BalancedPool. This is precautionary dependency remediation; local exploitability and deployment/release adoption are not established.

Validation

Frozen install and pnpm check:types passed. Worker tests are blocked by an HTTP 400 from the local Tempo RPC during fee-payer minting; E2E verification is outstanding.

Merging this PR patches source/dependency resolution only; consuming artifacts must still be rebuilt and rolled out.

Prompted by: @sds

Co-authored-by: Derek Cofausper <256792747+decofe@users.noreply.github.com>
@sds
sds marked this pull request as ready for review October 2, 2026 05:27
@decofe
decofe added this pull request to stack #99 October 2, 2026 05:51
@sds
sds merged commit 27ef226 into main Oct 2, 2026
10 of 12 checks passed
@sds
sds deleted the centaur/fix-undici-tls-validation-1790930001 branch October 2, 2026 05:53
sds added a commit that referenced this pull request Oct 2, 2026
## Summary

Fix the remaining dependency audit failures in [PR
#97](#97), reported by [Check /
Verify](https://github.com/tempoxyz/tip.bot/actions/runs/36966475423/job/110711220849?pr=97).

This PR is stacked on #97 so its existing Undici fix remains separate.
Merge #97 first, then merge this PR after its base updates to main.

| Dependency | Previous | Patched |
| --- | --- | --- |
| @grpc/grpc-js | 1.14.4 | 1.14.5 |
| axios | 1.18.0 | 1.20.0 |
| brace-expansion | 5.0.9 | 5.0.12 |
| fast-uri | 3.1.7 | 3.1.8 |
| ip-address | 10.3.1 | 10.7.1 |

Update workspace overrides, narrowly scoped release-age exceptions, and
the lockfile. Preserve all existing comments and the two image-size
audit exceptions backed by the local patch; no new audit suppressions
are added.

Axios is consumed by the Slack adapter and UI dependencies; gRPC and the
other packages are transitively consumed by test/tooling dependencies.
These upgrades remediate resolved versions, not verified deployment
exposure; consuming artifacts still require rebuild and rollout.

## Validation

- Frozen-lockfile installation passed.
- `pnpm audit` passed: only the two existing ignored image-size findings
remain.
- `pnpm check` and `pnpm check:types` passed.
- Unit tests: 52 passed; the remaining migration test could not run
because sqlite3 is missing in this sandbox.
- Worker tests failed during setup: the local Tempo RPC returned HTTP
400 while minting the test fee payer.
- E2E tests failed during setup: the better-sqlite3 native binding is
missing in this sandbox.
- GitHub CI is pending. No exploit probes or deployment changes were
performed.

Prompted by: @sds

---------

Co-authored-by: Shane da Silva <677877+sds@users.noreply.github.com>

This branch was previously deployed

1 inactive deployment
preview — 8fc5ff22 Deployed Oct 2, 2026 by sds via Destroy #71
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants